package com.campus.service;

import com.campus.model.CourseLearnUnit;
import com.campus.model.UnitCompletion;

import java.util.List;

public interface CourseLearnUnitService  {
    boolean createCourseLearnUnitWithStudents(CourseLearnUnit unit);
    boolean deleteCourseLearnUnit(int unitId);

    boolean updateCourseLearnUnit(CourseLearnUnit unit);

    List<CourseLearnUnit> listAllCourseLearnUnits(); // 修改为查询所有
    // 获取所有学习单元的完成度
    List<UnitCompletion> getAllUnitsCompletion();
}
